package com.szzg10.mina2.chapter5;

import org.apache.mina.core.filterchain.IoFilterAdapter;
import org.apache.mina.core.session.IoSession;

public class Chapter5Filter extends IoFilterAdapter {

	
	@Override
	public void messageReceived(NextFilter nextFilter, IoSession session,
			Object message) throws Exception {
		
		String str = message.toString() + " add last filter";
		
		nextFilter.messageReceived(session, str);
	}
	
}
